/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tracksuite.integration.historyuser;

import java.sql.Timestamp;
import tracksuite.integration.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * @author mfloriano
 */
@Entity
@Table(name = "HISTORY_USER")
public class HistoryUserTO extends GenericTO implements java.io.Serializable {

    @Column(name = "title") private String title;
    @Column(name = "description") private String description;
    @Column(name = "date_insert") private Timestamp dateInsert;
    @Column(name = "date_update") private Timestamp dateUpdate;
    
    @Override
    public String toString() {
        return "HistoryUser: " + getId() + ", " + getTitle();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Timestamp getDateInsert() {
        return dateInsert;
    }

    public void setDateInsert(Timestamp dateInsert) {
        this.dateInsert = dateInsert;
    }

    public Timestamp getDateUpdate() {
        return dateUpdate;
    }

    public void setDateUpdate(Timestamp dateUpdate) {
        this.dateUpdate = dateUpdate;
    }
    
}
